package com.v2.k33;


import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * 测试实例化回调方法InstantiationAwareBeanPostProcessor
 */
public class Test {

	public static void main(String[] args) {

		AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(AppConfig.class);

		System.out.println(applicationContext.getBean("userService"));
//		System.out.println(applicationContext.getBean("userService"));

	}

}
